package dc.connectionmanager.network;

import dc.connectionmanager.logic.AConnectionManager;

public class TCPConnectionManager extends AConnectionManager
{
    private int port;
    
    public TCPConnectionManager(String nIPAdress, int nPort)
    {
        super();
        this.ipAdress = nIPAdress;
        this.port = nPort;
    }

    @Override
    public void connect()
    {
       this.createNewConnection(new dc.connectionmanager.network.TCPConnection(this.ipAdress, this.port));
    }

}
